def isPrime(n):
    for i in range(2,n):
        if n % i ==0:
            return True
            break
    else:
        return False

def judgePrime(list):
    drc = {}
    for i in range(len(list)):
        if(isPrime(list[i])):
            drc[str(list[i])]  = '合数'
        else:
            drc[str(list[i])] = '素数'
    print(drc)


num = int(input('你想判断多大范围内的合数与素数？必须要>2! '))
list = range(2,num)
judgePrime(list)